package com.smiier.skin.net;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.AccountGetTask.AccountGetRequest;
import com.smiier.skin.net.AccountGetTask.AccountGetResponse;
import com.smiier.skin.util.GlobalSettings;

public class AccountGetTask extends
		NetTask<AccountGetRequest, AccountGetResponse> {

	public static class AccountGetRequest extends ORequest {
		public String token;
		public String appname = Constant.APP_NAME;
	}

	public static class AccountGetResponse extends OResponse {
		public double Res;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_URL_JOIN
				+ "?api=Account.Get";
		mRequestMethod = METHOD_GET;
	}

}
